package cn.wolfcode.crm.service.impl;

import cn.wolfcode.crm.domain.Payway;
import cn.wolfcode.crm.mapper.PaywayMapper;
import cn.wolfcode.crm.service.IPaywayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class PaywayServiceImpl implements IPaywayService {
    @Autowired
    private PaywayMapper paywayMapper;


    @Override
    public List<Payway> listAll() {
        return paywayMapper.selectAll();
    }
}
